@foreach($data['data'] as $val)
    <div style="min-height: 100px;overflow:hidden; padding: 10px; border-bottom: 1px solid #f4f4f4">
        <div class="col-md-2">
            <div>
                <img class="avatar" src="{{get_img($val['user_icon'])}}" alt="" style="width: 50px; height: 50px;" >
            </div>
        </div>
        <div class="col-md-10">
            <p>{{@$val['user_name']}}</p>
            <p>{{@$val['content']}}</p>
            <p>{{@$val['create_at']}}</p>
        </div>
    </div>
@endforeach
<a href="javascript:void(0)" class="page" data-page="1">首页</a>
<a href="javascript:void(0)" class="page" data-page="{{$data['prev']}}">上一页</a>
@foreach($data['pp'] as $key=>$val)
    @if($val == $data['page'])
        {{$val}}
    @else
        <a href="javascript:void(0)" class="page" data-page="{{$val}}" >{{$val}}</a>
    @endif
@endforeach
<a href="javascript:void(0)" class="page" data-page="{{$data['next']}}" >下一页</a>
<a href="javascript:void(0)" class="page" data-page="{{$data['sums']}}" >尾页</a><br />